package com.shendu.task.util;

import java.text.SimpleDateFormat;
import java.util.Date;


public class DateUtil {
	
	public static String formatDate(Date date, String pattern) {
		SimpleDateFormat sdf=new SimpleDateFormat(pattern);
		return sdf.format(date);
	}
}
